//
//  MessageDetailV.h
//  carcareIOS
//
//  Created by 王然 on 16/9/1.
//  Copyright © 2016年 chezheng. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MessageCenterModel.h"
#define Label_Y (11)
#define Label_Height (19)

#define CarListV_Line_Left (14)
#define CarListV_Left (CarListV_Line_Left + 1)
#define Triangle_W (6)
#define Label_X ((Triangle_W * 2) + 14)
#define CarListV_Width (__MAIN_WIDTH - CarListV_Left)
#define ListV_Left (5)
#define ListV_Width (__MAIN_WIDTH - (ListV_Left * 2))

#define Label_Color_List (COLOR_HEXSTRING(@"#191919"))
#define Label_Date_Color_List (COLOR_HEXSTRING(@"#b5b5b5"))
#define Label_Gray_Color_List (COLOR_HEXSTRING(@"#757575"))

@interface MessageListV : UIView

@property (nonatomic , copy) void(^clickLabelURL)(NSString * url);

- (instancetype)initWithWidth:(CGFloat)width;

- (void)reloadCarListDataWithModel:(MessageModel *)model;
- (void)reloadListDataWithModel:(MessageModel *)model type:(MessageCenter_Type)pageType;

+ (CGFloat)getCarListCellHeightWithModel:(MessageModel *)model;
+ (CGFloat)getListCellHeightWithModel:(MessageModel *)model;

@end
